package com.sxpcwlkj.system.entity.bo;

import lombok.Data;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
/**
 * @ClassName LoginBody
 * @Description TODO
 * @Author 西决
 * @Date 2022/12/25 11:55
 */
@Data
public class LoginBodyBo {

    /**
     * 用户名
     */
    @NotBlank(message = "账号不能为空")
    @Size(min = 4, max = 16, message = "账号长度不能超过{max}个字符")
    private String username;

    /**
     * 用户密码
     */
    @NotBlank(message = "密码不能为空")
    @Size(min = 0, max = 32, message = "密码长度不能超过{max}个字符")
     private String password;

    /**
     * 验证码
     */
    private String code;

    /**
     * 验证码Key
     */
    private String codeKey;
    /**
     * uuid
     */
    private String uuid;

    /**
     * 租户ID
     */
    private String tenantId;

    /**
     * 记住我
     */
    private Boolean rememberMe=true;

}
